package com.ibeetl.cms.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;


/* 
* 
* gen by Spring Boot2 Admin 2018-12-11
*/
public class Site extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	
    //批准站文号

    private String approvalNumber ;
	
    //工作站名称

    private String workstationName ;
	
    //建站时间

    private Date timeConstruction ;
	
    //站点状态 S1:正常 S0:失效

    private String state ;

    //修改人

    private String modifier ;

    //修改时间

    private Date timeUpdate ;
	
    public Site()
    {
    }

    public Integer getId(){
	    return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    /**批准站文号
    *@return 
    */
    public String getApprovalNumber(){
	    return  approvalNumber;
    }
    /**批准站文号
    *@param  approvalNumber
    */
    public void setApprovalNumber(String approvalNumber){
        this.approvalNumber = approvalNumber;
    }

    /**工作站名称
    *@return 
    */
    public String getWorkstationName(){
	    return  workstationName;
    }
    /**工作站名称
    *@param  workstationName
    */
    public void setWorkstationName(String workstationName){
        this.workstationName = workstationName;
    }

    /**建站时间
    *@return 
    */
    public Date getTimeConstruction(){
	    return  timeConstruction;
    }
    /**建站时间
    *@param  timeConstruction
    */
    public void setTimeConstruction(Date timeConstruction){
        this.timeConstruction = timeConstruction;
    }

    /**站点状态 S1:正常 S0:失效
    *@return 
    */
    public String getState(){
	    return  state;
    }
    /**站点状态 S1:正常 S0:失效
    *@param  state
    */
    public void setState(String state){
        this.state = state;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Date getTimeUpdate() {
        return timeUpdate;
    }

    public void setTimeUpdate(Date timeUpdate) {
        this.timeUpdate = timeUpdate;
    }
}
